<template>
	<view class="page">
		<view class="zy-row mdx-wallet-item">
			<view class="zy-col">
				<text class="mdx-wallet-title" >钱包余额（元）</text>
				<text class="mdx-wallet-money">3233290.88</text>
			</view>
		</view>
		<view class="zy-row mdx-wallet-title-view">
			<text>提现金额</text>
			<text>Withdrawal amount</text>
		</view>
		<view class="zy-row mdx-wallet-input">
			<input v-model="amount" placeholder="0.00" type="number">
			<text>全部提现</text>
		</view>
		<textarea class="mdx-wallet-textarea" v-model="desc" rows="10"></textarea>
		<view class="zy-row mdx-wallet-txt">
			<text class="mdx-round"></text>
			<text>提现收取手续费</text>
			<text style="color:#E62412;">1%</text>
			<text>（含手续费和税费）</text>
		</view>
		<view class="mdx-btn" style="margin-top: 160rpx;"  @click="withdrawAmount">
			确认提现
		</view>
		<mdx-authentication  ref="MdxAuthenticationPopup"></mdx-authentication>
	</view>
</template>

<script>
	
	export default {
		data() {
			return {
				amount:"",
				desc:""
			};
		},
		onShow() {
			
		},
		methods:{
			withdrawAmount(){
				this.$refs.MdxAuthenticationPopup.open();
			}
		}
	}
</script>

<style lang="scss">
	
	.page{
		padding: 0 28rpx;
	}
	
	.mdx-wallet-txt{
		align-items: center;
		.mdx-round{
			width: 8rpx;
			height: 8rpx;
			background: #D9D9D9;
			margin-right: 16rpx;
			border-radius: 50%;
		}
		text{
			font-size: 22rpx;
			color: #999999;
			line-height: 32rpx;
		}
	}
	
	
	
	.mdx-wallet-input{
		padding: 24rpx 20rpx;
		height: 88rpx;
		background: #F9F9F9;
		border-radius: 12rpx;
		margin: 24rpx auto;
		justify-content: space-between;
		text{
			font-size: 28rpx;
			color: $globalColor;
			line-height: 40rpx;
		}
		textarea{
			height:152rpx ;
		}
	}
	
	
	.mdx-wallet-textarea{
		width: 694rpx;
		height: 172rpx;
		padding: 24rpx 20rpx;
		background: #F9F9F9;
		border-radius: 12rpx;
		margin: 24rpx auto;
		box-sizing:border-box;
	}
	
	.mdx-wallet-title-view{
		align-items: center;
		margin-top: 48rpx;
		text:nth-child(1){
			font-size: 30rpx;
			font-weight: 600;
			line-height: 42rpx;
		}
		text:nth-child(2){
			margin-left: 6rpx;
			font-size: 20rpx;
			line-height: 28rpx;
			color: #BBBBBB;
		}
	}
	
	.mdx-wallet-item{
		height: 204rpx;
		background: linear-gradient(157deg, #11B2BB 0%, #007D88 100%);
		border-radius: 20rpx;
		margin: 0 auto;
		padding: 32rpx 25rpx;
		align-items: center;
		justify-content: space-between;
		.mdx-wallet-title{
			font-size: 24rpx;
			color: #BBF9FF;
			line-height: 42rpx;
		}
		.mdx-wallet-money{
			margin-top: 20rpx;
			font-size: 40rpx;
			font-weight: 600;
			color: #FFFFFF;
			line-height: 42rpx;
		}
	}
</style>
